Inheritance diagram for Exponent::GUI::Controls::CAnimationFrame:

Definition at line 32 of file CAnimationFrame.hpp.
| Exponent::GUI::Controls::CAnimationFrame::CAnimationFrame | ( | IControlRoot * | root, | |
| const long | uniqueId, | |||
| const CRect & | area | |||
| ) |
Construction
| root | The root control that this control is being added to | |
| uniqueId | The unique Identifier of this control or CCONTROL_NO_ID_REQUIRED if no id is required | |
| area | The area of this control relative to the root controls top left |
| virtual Exponent::GUI::Controls::CAnimationFrame::~CAnimationFrame | ( | ) | [virtual] |
Destruction
| virtual void Exponent::GUI::Controls::CAnimationFrame::drawControl | ( | CGraphics & | graphics | ) | [virtual] |
Draw the control
| graphics | The graphics context |
Reimplemented from Exponent::GUI::Controls::CControl.
| virtual void Exponent::GUI::Controls::CAnimationFrame::handleLeftButtonDown | ( | CMouseEvent & | event | ) | [virtual] |
Handle left button being clicked
| event | The mouse event |
Reimplemented from Exponent::GUI::Controls::CControl.
| virtual void Exponent::GUI::Controls::CAnimationFrame::setAnimationImage | ( | IImage * | theImage, | |
| const long | heightOfEachFrame | |||
| ) | [virtual] |
Set the image
| theImage | The image to display | |
| heightOfEachFrame | The height of each frame of the animation |
| virtual void Exponent::GUI::Controls::CAnimationFrame::setFrameNumber | ( | const long | frameNumber | ) | [virtual] |
Set the frame number
| frameNumber | The frame to display |
long Exponent::GUI::Controls::CAnimationFrame::m_frameHeight [protected] |
Total height of each frame
Definition at line 92 of file CAnimationFrame.hpp.
long Exponent::GUI::Controls::CAnimationFrame::m_frameNumber [protected] |
Which frame is currently being displayed
Definition at line 93 of file CAnimationFrame.hpp.
CRect Exponent::GUI::Controls::CAnimationFrame::m_offsetArea [protected] |
What is the area to be drawn?
Definition at line 94 of file CAnimationFrame.hpp.